package com.heimait.chouxianglei.demo;

public class frog extends animal{
    public frog() {
    }

    public frog(String name, int age) {
        super(name, age);
    }

    @Override
    public void action() {
        System.out.println("青蛙的行为是：吃虫子+喝水");
    }
}
